package com.esun.payment_api.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
public class PInvCancelParam implements Serializable {

    @ApiModelProperty(value = "发票ID")
    private Integer invId;

    @ApiModelProperty(value = "作废原因类型：1、2、3、4、5")
    private String cancelReasonType;

    @ApiModelProperty(value = "作废原因")
    private String reason;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "开票时间-不传")
    @Builder.Default
    private Date invDate;

    @ApiModelProperty(value = "作废时间-不传")
    @Builder.Default
    private Date cancelledDate;

    @ApiModelProperty(value = "返回参数")
    private BigDecimal cancelId;
}
